$(function(){
	var img1 = '/img/gift/show.png';
	var img2 = '/img/gift/hide.png';
	$('#flower_show').click(function(){
		var flower = $('#flower_show').attr('src');
		if (flower == img1) {
			$('#flower_show').attr('src',img2);
		}else{
			$('#flower_show').attr('src',img1);
		}
	});
	$('#forever_show').click(function(){
		var forever = $('#forever_show').attr('src');
		if (forever == img1) {
			$('#forever_show').attr('src',img2);
		}else{
			$('#forever_show').attr('src',img1);
		}
	});
	$('#ship_show').click(function(){
		var ship = $('#ship_show').attr('src');
		console.log(ship);
		if (ship == img1) {
			$('#ship_show').attr('src',img2);
		}else{
			$('#ship_show').attr('src',img1);
		}
	});
	$('#flower_w').click(function(){
		$('.flower_price').show();
		$('#flower_money').blur(function(){
			var flower = document.getElementById('flower_money');
			document.getElementById('flower_desc').innerHTML = flower.value;
			$('.flower_price').hide();
		})
	})
	$('#forever_w').click(function(){
		$('.forever_price').show();
		$('#forever_money').blur(function(){
			var forever = document.getElementById('forever_money');
			document.getElementById('forever_desc').innerHTML = forever.value;
			$('.forever_price').hide();
		})
	})
	$('#ship_w').click(function(){
		$('.ship_price').show();
		$('#ship_money').blur(function(){
			var ship = document.getElementById('ship_money');
			document.getElementById('ship_desc').innerHTML = ship.value;
			$('.ship_price').hide();
		})
	})
})